<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Collision Checker: cpp/collision/src/time_variant_collision_object.cc Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Collision Checker
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_df511e5bd85cec96854b39d5e1c27aa8.html">cpp</a></li><li class="navelem"><a class="el" href="dir_bf0f0c8865c1942e08ab5157e2c596db.html">collision</a></li><li class="navelem"><a class="el" href="dir_0bc2acc18702bc40f3a0aa3bc19285f7.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">time_variant_collision_object.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="time__variant__collision__object_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="time__variant__collision__object_8h.html">collision/time_variant_collision_object.h</a>&quot;</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision.html">collision</a> {</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#a1a9023a0cde7576d58d9a3df6176cd3c">    5</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a1a9023a0cde7576d58d9a3df6176cd3c">TimeVariantCollisionObject::rayTrace</a>(</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;    <span class="keyword">const</span> Eigen::Vector2d &amp;point1, <span class="keyword">const</span> Eigen::Vector2d &amp;point2,</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;    std::vector&lt;LineSegment&gt; &amp;intersect)<span class="keyword"> const </span>{</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;  <span class="keywordtype">bool</span> res = <span class="keyword">false</span>;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;obj : <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>) {</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    res = obj-&gt;rayTrace(point1, point2, intersect) || res;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;  }</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;}</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#af5b762d1afeffa2ad77095e9166db224">   15</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#af5b762d1afeffa2ad77095e9166db224">TimeVariantCollisionObject::print</a>(std::ostringstream &amp;stream)<span class="keyword"> const </span>{</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;  stream &lt;&lt; <span class="stringliteral">&quot;Timevariant obstacle, time &quot;</span> &lt;&lt; <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a> &lt;&lt; <span class="stringliteral">&quot;-&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;         &lt;&lt; <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a> &lt;&lt; std::endl;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>.size(); i++) {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    stream &lt;&lt; <span class="stringliteral">&quot;  &quot;</span> &lt;&lt; i + <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a> &lt;&lt; <span class="stringliteral">&quot;:&quot;</span>;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>[i]-&gt;print(stream);</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;  }</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;}</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ad234f952bfae74c775256dd08f6da8c5">   30</a></span>&#160;<a class="code" href="classcollision_1_1_time_variant_collision_object.html#ad234f952bfae74c775256dd08f6da8c5">TimeVariantCollisionObject::TimeVariantCollisionObject</a>(<span class="keywordtype">int</span> time_start_idx) {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;  <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a> = <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ae0db5a464e1ce21aa1131955e1bebc8e">time_start_idx</a>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;  <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a> = <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ae0db5a464e1ce21aa1131955e1bebc8e">time_start_idx</a> - 1;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#a2262622fbdf0596e4faba5fe344f2358">   36</a></span>&#160;<a class="code" href="classcollision_1_1_time_variant_collision_object.html#a2262622fbdf0596e4faba5fe344f2358">TimeVariantCollisionObject::getObstacleAtTime</a>(<span class="keywordtype">int</span> time_idx)<span class="keyword"> const </span>{</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="keywordflow">if</span> (time_idx &lt; time_start_idx_ || time_idx &gt; <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a>)</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>[time_idx - <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a>];</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;}</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ae0db5a464e1ce21aa1131955e1bebc8e">   42</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ae0db5a464e1ce21aa1131955e1bebc8e">TimeVariantCollisionObject::time_start_idx</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">time_start_idx_</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ae14bb4f90bffb5804b389f27300c1c4f">   46</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ae14bb4f90bffb5804b389f27300c1c4f">TimeVariantCollisionObject::time_end_idx</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a>; }</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ad75e681813a41620c7a40abc43d96aa3">   48</a></span>&#160;<a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ad75e681813a41620c7a40abc43d96aa3">TimeVariantCollisionObject::timeSlice</a>(</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">int</span> time_idx, <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> shared_ptr_this)<span class="keyword"> const </span>{</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a2262622fbdf0596e4faba5fe344f2358">getObstacleAtTime</a>(time_idx);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;}</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#ab59814dd8f7a109edd22df8d250c96f7">   53</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#ab59814dd8f7a109edd22df8d250c96f7">TimeVariantCollisionObject::appendObstacle</a>(</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> obstacle) {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>.push_back(obstacle);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keywordflow">return</span> ++<a class="code" href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">time_end_idx_</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classcollision_1_1_time_variant_collision_object.html#a9542a5ccec3c2f5712b2b7cf42ea48a8">   59</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html#a9542a5ccec3c2f5712b2b7cf42ea48a8">TimeVariantCollisionObject::addParentMap</a>(</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    std::unordered_map&lt;<span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> *,</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                       std::list&lt;CollisionObjectConstPtr&gt;&gt; &amp;parent_map)<span class="keyword"> const </span>{</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;tvobj : <a class="code" href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision_object_at_time_</a>) {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    tvobj-&gt;addParentMap(parent_map, shared_from_this());</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;}</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#if ENABLE_SERIALIZER</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">serialize</a> {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;ICollisionObjectExport *</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;exportObject(<span class="keyword">const</span> <a class="code" href="classcollision_1_1_time_variant_collision_object.html">collision::TimeVariantCollisionObject</a> &amp;);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;}</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;serialize::ICollisionObjectExport *</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;TimeVariantCollisionObject::exportThis(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keywordflow">return</span> serialize::exportObject(*<span class="keyword">this</span>);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;}</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;} <span class="comment">// namespace collision</span></div><div class="ttc" id="classcollision_1_1_time_variant_collision_object_html"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html">collision::TimeVariantCollisionObject</a></div><div class="ttdoc">TimeVariantCollisionObject can contain a different CollisionObject or ShapeGroup at each time step.</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8h_source.html#l00021">time_variant_collision_object.h:21</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ae14bb4f90bffb5804b389f27300c1c4f"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ae14bb4f90bffb5804b389f27300c1c4f">collision::TimeVariantCollisionObject::time_end_idx</a></div><div class="ttdeci">int time_end_idx() const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00046">time_variant_collision_object.cc:46</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ad234f952bfae74c775256dd08f6da8c5"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ad234f952bfae74c775256dd08f6da8c5">collision::TimeVariantCollisionObject::TimeVariantCollisionObject</a></div><div class="ttdeci">TimeVariantCollisionObject(int time_start_idx)</div><div class="ttdoc">Creates a new TimeVariantCollisionObject.</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00030">time_variant_collision_object.cc:30</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ac948c1373eecc7d7c9029996c5dc2ab4"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ac948c1373eecc7d7c9029996c5dc2ab4">collision::TimeVariantCollisionObject::time_start_idx_</a></div><div class="ttdeci">int time_start_idx_</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8h_source.html#l00055">time_variant_collision_object.h:55</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ae0db5a464e1ce21aa1131955e1bebc8e"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ae0db5a464e1ce21aa1131955e1bebc8e">collision::TimeVariantCollisionObject::time_start_idx</a></div><div class="ttdeci">int time_start_idx() const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00042">time_variant_collision_object.cc:42</a></div></div>
<div class="ttc" id="namespacecollision_html_a405f2c04407997fea529aad88f04ad30"><div class="ttname"><a href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">collision::CollisionObjectConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const CollisionObject &gt; CollisionObjectConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00041">collision_object.h:41</a></div></div>
<div class="ttc" id="namespacecollision_html"><div class="ttname"><a href="namespacecollision.html">collision</a></div><div class="ttdef"><b>Definition:</b> <a href="collision__checker_8h_source.html#l00020">collision_checker.h:20</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a1a9023a0cde7576d58d9a3df6176cd3c"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a1a9023a0cde7576d58d9a3df6176cd3c">collision::TimeVariantCollisionObject::rayTrace</a></div><div class="ttdeci">bool rayTrace(const Eigen::Vector2d &amp;point1, const Eigen::Vector2d &amp;point2, std::vector&lt; LineSegment &gt; &amp;intersect) const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00005">time_variant_collision_object.cc:5</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a9542a5ccec3c2f5712b2b7cf42ea48a8"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a9542a5ccec3c2f5712b2b7cf42ea48a8">collision::TimeVariantCollisionObject::addParentMap</a></div><div class="ttdeci">virtual void addParentMap(std::unordered_map&lt; const CollisionObject *, std::list&lt; CollisionObjectConstPtr &gt;&gt; &amp;parent_map) const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00059">time_variant_collision_object.cc:59</a></div></div>
<div class="ttc" id="time__variant__collision__object_8h_html"><div class="ttname"><a href="time__variant__collision__object_8h.html">time_variant_collision_object.h</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a83f60dea6e80754d544e5af6cedd36f1"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a83f60dea6e80754d544e5af6cedd36f1">collision::TimeVariantCollisionObject::time_end_idx_</a></div><div class="ttdeci">int time_end_idx_</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8h_source.html#l00056">time_variant_collision_object.h:56</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ab59814dd8f7a109edd22df8d250c96f7"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ab59814dd8f7a109edd22df8d250c96f7">collision::TimeVariantCollisionObject::appendObstacle</a></div><div class="ttdeci">int appendObstacle(CollisionObjectConstPtr obstacle)</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00053">time_variant_collision_object.cc:53</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_ad75e681813a41620c7a40abc43d96aa3"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#ad75e681813a41620c7a40abc43d96aa3">collision::TimeVariantCollisionObject::timeSlice</a></div><div class="ttdeci">virtual CollisionObjectConstPtr timeSlice(int time_idx, CollisionObjectConstPtr shared_ptr_this) const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00048">time_variant_collision_object.cc:48</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_aaeda983c8e36ac18f988168261f57744"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#aaeda983c8e36ac18f988168261f57744">collision::TimeVariantCollisionObject::collision_object_at_time_</a></div><div class="ttdeci">std::vector&lt; CollisionObjectConstPtr &gt; collision_object_at_time_</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8h_source.html#l00057">time_variant_collision_object.h:57</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_a2262622fbdf0596e4faba5fe344f2358"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#a2262622fbdf0596e4faba5fe344f2358">collision::TimeVariantCollisionObject::getObstacleAtTime</a></div><div class="ttdeci">CollisionObjectConstPtr getObstacleAtTime(int time_idx) const</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00036">time_variant_collision_object.cc:36</a></div></div>
<div class="ttc" id="namespacecollision_1_1serialize_html_aea63e6d672588912102de4dbfc13ba19"><div class="ttname"><a href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">collision::serialize::serialize</a></div><div class="ttdeci">int serialize(const test::BroadphaseFailureCCObj &amp;bf_object, std::ostream &amp;output_stream, const char *format=SERIALIZER_DEFAULT_FORMAT)</div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html"><div class="ttname"><a href="classcollision_1_1_collision_object.html">collision::CollisionObject</a></div><div class="ttdoc">Base class for CollisionObjects and some of their groups.</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00047">collision_object.h:47</a></div></div>
<div class="ttc" id="classcollision_1_1_time_variant_collision_object_html_af5b762d1afeffa2ad77095e9166db224"><div class="ttname"><a href="classcollision_1_1_time_variant_collision_object.html#af5b762d1afeffa2ad77095e9166db224">collision::TimeVariantCollisionObject::print</a></div><div class="ttdeci">virtual void print(std::ostringstream &amp;stream) const</div><div class="ttdoc">Print all parameters of the shape.</div><div class="ttdef"><b>Definition:</b> <a href="time__variant__collision__object_8cc_source.html#l00015">time_variant_collision_object.cc:15</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
